<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<title>QxOrm: qx::IxRepository Class Reference</title>

<link href="tabs.css" rel="stylesheet" type="text/css"/>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
<link href="navtree.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="resize.js"></script>
<script type="text/javascript" src="navtree.js"></script>
<script type="text/javascript">
  $(document).ready(initResizable);
</script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/search.js"></script>
<script type="text/javascript">
  $(document).ready(function() { searchBox.OnSelectItem(0); });
</script>

</head>
<body>
<div id="top"><!-- do not remove this div! -->


<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  
  <td id="projectlogo"><img alt="Logo" src="logo_qxorm.png"/></td>
  
  
  <td style="padding-left: 0.5em;">
   <div id="projectname">QxOrm
   &#160;<span id="projectnumber">1.4.3</span>
   </div>
   <div id="projectbrief">C++ Object Relational Mapping library</div>
  </td>
  
  
  
 </tr>
 </tbody>
</table>
</div>

<!-- Generated by Doxygen 1.7.5.1 -->
<script type="text/javascript">
var searchBox = new SearchBox("searchBox", "search",false,'Search');
</script>
  <div id="navrow1" class="tabs">
    <ul class="tablist">
      <li><a href="index.html"><span>Main&#160;Page</span></a></li>
      <li><a href="modules.html"><span>Modules</span></a></li>
      <li><a href="namespaces.html"><span>Namespaces</span></a></li>
      <li class="current"><a href="annotated.html"><span>Classes</span></a></li>
      <li><a href="files.html"><span>Files</span></a></li>
      <li><a href="dirs.html"><span>Directories</span></a></li>
      <li>
        <div id="MSearchBox" class="MSearchBoxInactive">
        <span class="left">
          <img id="MSearchSelect" src="search/mag_sel.png"
               onmouseover="return searchBox.OnSearchSelectShow()"
               onmouseout="return searchBox.OnSearchSelectHide()"
               alt=""/>
          <input type="text" id="MSearchField" value="Search" accesskey="S"
               onfocus="searchBox.OnSearchFieldFocus(true)" 
               onblur="searchBox.OnSearchFieldFocus(false)" 
               onkeyup="searchBox.OnSearchFieldChange(event)"/>
          </span><span class="right">
            <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a>
          </span>
        </div>
      </li>
    </ul>
  </div>
  <div id="navrow2" class="tabs2">
    <ul class="tablist">
      <li><a href="annotated.html"><span>Class&#160;List</span></a></li>
      <li><a href="classes.html"><span>Class&#160;Index</span></a></li>
      <li><a href="hierarchy.html"><span>Class&#160;Hierarchy</span></a></li>
      <li><a href="functions.html"><span>Class&#160;Members</span></a></li>
    </ul>
  </div>
</div>
<div id="side-nav" class="ui-resizable side-nav-resizable">
  <div id="nav-tree">
    <div id="nav-tree-contents">
    </div>
  </div>
  <div id="splitbar" style="-moz-user-select:none;" 
       class="ui-resizable-handle">
  </div>
</div>
<script type="text/javascript">
  initNavTree('classqx_1_1_ix_repository.html','');
</script>
<div id="doc-content">
<div class="header">
  <div class="summary">
<a href="#pub-methods">Public Member Functions</a> &#124;
<a href="#pub-static-methods">Static Public Member Functions</a> &#124;
<a href="#pro-attribs">Protected Attributes</a>  </div>
  <div class="headertitle">
<div class="title">qx::IxRepository Class Reference<div class="ingroups"><a class="el" href="group___qx_dao.html">QxDao : QxOrm library database communication used by persistence engine (ORM - Object Relational Mapping)</a></div></div>  </div>
</div>
<div class="contents">
<!-- doxytag: class="qx::IxRepository" -->
<p><a class="el" href="classqx_1_1_ix_repository.html" title="qx::IxRepository : common interface for all repositories to provide access to database by introspecti...">qx::IxRepository</a> : common interface for all repositories to provide access to database by introspection using QObject class or <a class="el" href="classqx_1_1_ix_collection.html" title="qx::IxCollection : common interface for all QxOrm containers qx::QxCollection&lt;Key, Value&gt;">qx::IxCollection</a> class  
 <a href="classqx_1_1_ix_repository.html#details">More...</a></p>

<p><code>#include &lt;<a class="el" href="_ix_repository_8h_source.html">IxRepository.h</a>&gt;</code></p>
<div class="dynheader">
Inheritance diagram for qx::IxRepository:</div>
<div class="dyncontent">
 <div class="center">
  <img src="classqx_1_1_ix_repository.png" usemap="#qx::IxRepository_map" alt=""/>
  <map id="qx::IxRepository_map" name="qx::IxRepository_map">
<area href="classqx_1_1_qx_repository.html" title="qx::QxRepository&lt;T&gt; : repository to provide a common interface to communicate with database..." alt="qx::QxRepository&lt; T &gt;" shape="rect" coords="0,56,137,80"/>
</map>
 </div></div>

<p><a href="classqx_1_1_ix_repository-members.html">List of all members.</a></p>
<table class="memberdecls">
<tr><td colspan="2"><h2><a name="pub-methods"></a>
Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_ix_repository.html#a65e1306f4a2ab2861dd1916bab6484df">IxRepository</a> (bool bRegister, const QString &amp;sKey)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_ix_repository.html#ad190f47512f8495bc621dab046a0e5ba">IxRepository</a> (bool bRegister, const QString &amp;sKey, const QSqlDatabase &amp;database)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_ix_repository.html#a8e3d278f8974d4248723a56088067695">IxRepository</a> (bool bRegister, const QString &amp;sKey, <a class="el" href="classqx_1_1_qx_session.html">QxSession</a> *pSession)</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_ix_repository.html#a487040d897e770728428e76f1af7343c">~IxRepository</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QSqlDatabase *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_ix_repository.html#afe835dcf2cf658f83099adfb5316df09">database</a> ()</td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classqx_1_1_qx_session.html">QxSession</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_ix_repository.html#acaa15d7dd3ae1e3c8dd78ffa23e7585e">session</a> () const </td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual long&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_ix_repository.html#a5052807de734355e410edd70371e8470">_count</a> (const <a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;query=<a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a>())=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual void *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_ix_repository.html#a08ea117d4d65c182dbf4520ed0fde388">_fetchById</a> (const QVariant &amp;id, const QStringList &amp;columns=QStringList(), const QStringList &amp;relation=QStringList())=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QSqlError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_ix_repository.html#a94efa30ab695212b357cce44746956f5">_fetchById</a> (QObject *p, const QStringList &amp;columns=QStringList(), const QStringList &amp;relation=QStringList())=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QSqlError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_ix_repository.html#a824764185f5dcbe5ad93c051cdcd83a1">_fetchById</a> (<a class="el" href="classqx_1_1_ix_collection.html">qx::IxCollection</a> *p, const QStringList &amp;columns=QStringList(), const QStringList &amp;relation=QStringList())=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QSqlError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_ix_repository.html#ac53acd53868400234dfdca0e12a48aec">_fetchAll</a> (QObject *p, const QStringList &amp;columns=QStringList(), const QStringList &amp;relation=QStringList())=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QSqlError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_ix_repository.html#ad481c686dba0bfa5048ba83bd2e223ee">_fetchAll</a> (<a class="el" href="classqx_1_1_ix_collection.html">qx::IxCollection</a> *p, const QStringList &amp;columns=QStringList(), const QStringList &amp;relation=QStringList())=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QSqlError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_ix_repository.html#ab2de99024a09d12c4dc5c123aeaa3fcc">_fetchByQuery</a> (const <a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;query, QObject *p, const QStringList &amp;columns=QStringList(), const QStringList &amp;relation=QStringList())=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QSqlError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_ix_repository.html#aba1ab6100e2abc1064da5fd6fe975085">_fetchByQuery</a> (const <a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;query, <a class="el" href="classqx_1_1_ix_collection.html">qx::IxCollection</a> *p, const QStringList &amp;columns=QStringList(), const QStringList &amp;relation=QStringList())=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QSqlError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_ix_repository.html#ae2c4aac865194c104751caefd929f5d5">_insert</a> (QObject *p, const QStringList &amp;relation=QStringList())=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QSqlError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_ix_repository.html#a4bf5a3a4c159755a848a485338e2e33f">_insert</a> (<a class="el" href="classqx_1_1_ix_collection.html">qx::IxCollection</a> *p, const QStringList &amp;relation=QStringList())=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QSqlError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_ix_repository.html#a5abbde87e43c09c9d9bfd36a34f6ad7f">_update</a> (QObject *p, const <a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;query=<a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a>(), const QStringList &amp;columns=QStringList(), const QStringList &amp;relation=QStringList())=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QSqlError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_ix_repository.html#ac8af2f8b48c1d7700ed2040605eb5a95">_update</a> (<a class="el" href="classqx_1_1_ix_collection.html">qx::IxCollection</a> *p, const <a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;query=<a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a>(), const QStringList &amp;columns=QStringList(), const QStringList &amp;relation=QStringList())=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QSqlError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_ix_repository.html#ac02ec6530b0622effc375dca63b58454">_save</a> (QObject *p, const QStringList &amp;relation=QStringList())=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QSqlError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_ix_repository.html#a1d2a90226fa78d61f43d753690649932">_save</a> (<a class="el" href="classqx_1_1_ix_collection.html">qx::IxCollection</a> *p, const QStringList &amp;relation=QStringList())=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QSqlError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_ix_repository.html#a2df10e62bd75fd432671200015dd8bf6">_deleteById</a> (const QVariant &amp;id)=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QSqlError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_ix_repository.html#a555f92df8f92f6a217578afb4e36aef9">_deleteById</a> (QObject *p)=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QSqlError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_ix_repository.html#ac1570bd1a9153ce80228afa218233349">_deleteById</a> (<a class="el" href="classqx_1_1_ix_collection.html">qx::IxCollection</a> *p)=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QSqlError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_ix_repository.html#a6a677b52dbb79634f4771e59e78d0957">_deleteAll</a> ()=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QSqlError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_ix_repository.html#a5e5a93169d54b3c09c0986687d38012e">_deleteByQuery</a> (const <a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;query)=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QSqlError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_ix_repository.html#a7e17bc445dc8bdb4ff26c2bdbddd5842">_destroyById</a> (const QVariant &amp;id)=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QSqlError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_ix_repository.html#a576829139b07c613c4729677bbad3dfe">_destroyById</a> (QObject *p)=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QSqlError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_ix_repository.html#add9a1b1e1000e92444429fd7d3516aa1">_destroyById</a> (<a class="el" href="classqx_1_1_ix_collection.html">qx::IxCollection</a> *p)=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QSqlError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_ix_repository.html#addd5d9e4d24f79fe6bf31c5a37d489c9">_destroyAll</a> ()=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual QSqlError&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_ix_repository.html#a9cb498184174bdca5df5b97162186b71">_destroyByQuery</a> (const <a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;query)=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="_qx_bool_8h.html#a40069a4245b458585997dadea3a86b33">qx_bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_ix_repository.html#a6744756e0ef04ae536de452b2ea2983a">_exist</a> (QObject *p)=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="_qx_bool_8h.html#a40069a4245b458585997dadea3a86b33">qx_bool</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_ix_repository.html#a157f42e376bb78fd62f987aa319264ae">_exist</a> (<a class="el" href="classqx_1_1_ix_collection.html">qx::IxCollection</a> *p)=0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="namespaceqx.html#a8792a6513f37c4a4ba24a55dbabee03b">qx::IxCollection_ptr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_ix_repository.html#a73dd51bfba0c1f87d9334ba09e5b4da4">_newCollection</a> () const =0</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">virtual <a class="el" href="classqx_1_1_ix_class.html">qx::IxClass</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_ix_repository.html#ac8287e946f6cda4495d8d305a6a2c7ea">_getClass</a> () const =0</td></tr>
<tr><td colspan="2"><h2><a name="pub-static-methods"></a>
Static Public Member Functions</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespaceqx.html#a8792a6513f37c4a4ba24a55dbabee03b">qx::IxCollection_ptr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_ix_repository.html#a9cf6804c4e78e40ed617f94992e36086">_fetchAll</a> (const QString &amp;repositoryKey, const QStringList &amp;columns=QStringList(), const QStringList &amp;relation=QStringList())</td></tr>
<tr><td class="memItemLeft" align="right" valign="top">static <a class="el" href="namespaceqx.html#a8792a6513f37c4a4ba24a55dbabee03b">qx::IxCollection_ptr</a>&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_ix_repository.html#a339781f7dcaebee054667b5b2fd3c9d4">_fetchByQuery</a> (const QString &amp;repositoryKey, const <a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;query, const QStringList &amp;columns=QStringList(), const QStringList &amp;relation=QStringList())</td></tr>
<tr><td colspan="2"><h2><a name="pro-attribs"></a>
Protected Attributes</h2></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">bool&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_ix_repository.html#a5033bbd6d579fecd00772f584f88e487">m_bRegister</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Register repository into <a class="el" href="classqx_1_1_qx_repository_x.html" title="qx::QxRepositoryX : list of all repositories registered using qx::register_repository&lt;T&gt; function...">QxRepositoryX</a> collection.  <a href="#a5033bbd6d579fecd00772f584f88e487"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QString&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_ix_repository.html#aa35ff77a77f423a5079644d90a701149">m_sKeyRepository</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Repository key used by <a class="el" href="classqx_1_1_qx_repository_x.html" title="qx::QxRepositoryX : list of all repositories registered using qx::register_repository&lt;T&gt; function...">QxRepositoryX</a> collection.  <a href="#aa35ff77a77f423a5079644d90a701149"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top">QSqlDatabase&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_ix_repository.html#ad22476e2be9c22c3bba7d98ecbe09182">m_database</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Database connection associated to the repository.  <a href="#ad22476e2be9c22c3bba7d98ecbe09182"></a><br/></td></tr>
<tr><td class="memItemLeft" align="right" valign="top"><a class="el" href="classqx_1_1_qx_session.html">QxSession</a> *&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="classqx_1_1_ix_repository.html#aa9c2b2ae5df27aedbe5eeb5a1dd3d23c">m_pSession</a></td></tr>
<tr><td class="mdescLeft">&#160;</td><td class="mdescRight">Session associated to the repository.  <a href="#aa9c2b2ae5df27aedbe5eeb5a1dd3d23c"></a><br/></td></tr>
</table>
<hr/><a name="details" id="details"></a><h2>Detailed Description</h2>
<div class="textblock"><p><a class="el" href="classqx_1_1_ix_repository.html" title="qx::IxRepository : common interface for all repositories to provide access to database by introspecti...">qx::IxRepository</a> : common interface for all repositories to provide access to database by introspection using QObject class or <a class="el" href="classqx_1_1_ix_collection.html" title="qx::IxCollection : common interface for all QxOrm containers qx::QxCollection&lt;Key, Value&gt;">qx::IxCollection</a> class </p>
<p>There is a type verification at runtime using <em>dynamic_cast</em> function. For example, if you are working with a class named <em>MyType</em>, you can call all methods of <em><a class="el" href="classqx_1_1_ix_repository.html" title="qx::IxRepository : common interface for all repositories to provide access to database by introspecti...">qx::IxRepository</a></em> interface using :</p>
<ul>
<li><em>MyType *</em> for a single object, if <em>MyType</em> inherits from <em>QObject</em> ;</li>
<li><em><a class="el" href="classqx_1_1_qx_collection.html" title="qx::QxCollection&lt;Key, Value&gt; : QxOrm container (keep insertion order + quick access by index + quick ...">qx::QxCollection</a>&lt; Key, QSharedPointer&lt;MyType&gt; &gt; *</em> for a list of objects, where <em>Key</em> is the primary key type defined for <em>MyType</em> class (<em>long</em> by default).</li>
</ul>
<p>Note : if a bad type is detected at runtime, an exception of type <em><a class="el" href="classqx_1_1dao_1_1sql__error.html" title="qx::dao::sql_error : define a SQL error exception and retrieve QSqlError type of Qt library...">qx::dao::sql_error</a></em> is thrown. </p>

<p>Definition at line <a class="el" href="_ix_repository_8h_source.html#l00073">73</a> of file <a class="el" href="_ix_repository_8h_source.html">IxRepository.h</a>.</p>
</div><hr/><h2>Constructor &amp; Destructor Documentation</h2>
<a class="anchor" id="a65e1306f4a2ab2861dd1916bab6484df"></a><!-- doxytag: member="qx::IxRepository::IxRepository" ref="a65e1306f4a2ab2861dd1916bab6484df" args="(bool bRegister, const QString &amp;sKey)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">qx::IxRepository::IxRepository </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>bRegister</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>sKey</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ad190f47512f8495bc621dab046a0e5ba"></a><!-- doxytag: member="qx::IxRepository::IxRepository" ref="ad190f47512f8495bc621dab046a0e5ba" args="(bool bRegister, const QString &amp;sKey, const QSqlDatabase &amp;database)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">qx::IxRepository::IxRepository </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>bRegister</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>sKey</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QSqlDatabase &amp;&#160;</td>
          <td class="paramname"><em>database</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a8e3d278f8974d4248723a56088067695"></a><!-- doxytag: member="qx::IxRepository::IxRepository" ref="a8e3d278f8974d4248723a56088067695" args="(bool bRegister, const QString &amp;sKey, QxSession *pSession)" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">qx::IxRepository::IxRepository </td>
          <td>(</td>
          <td class="paramtype">bool&#160;</td>
          <td class="paramname"><em>bRegister</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>sKey</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classqx_1_1_qx_session.html">QxSession</a> *&#160;</td>
          <td class="paramname"><em>pSession</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a487040d897e770728428e76f1af7343c"></a><!-- doxytag: member="qx::IxRepository::~IxRepository" ref="a487040d897e770728428e76f1af7343c" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual qx::IxRepository::~IxRepository </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Function Documentation</h2>
<a class="anchor" id="a5052807de734355e410edd70371e8470"></a><!-- doxytag: member="qx::IxRepository::_count" ref="a5052807de734355e410edd70371e8470" args="(const qx::QxSqlQuery &amp;query=qx::QxSqlQuery())=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual long qx::IxRepository::_count </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;&#160;</td>
          <td class="paramname"><em>query</em> = <code><a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a>()</code></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classqx_1_1_qx_repository.html#a1e9d1519a9eb9348895e72df8f9a55df">qx::QxRepository&lt; T &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="a6a677b52dbb79634f4771e59e78d0957"></a><!-- doxytag: member="qx::IxRepository::_deleteAll" ref="a6a677b52dbb79634f4771e59e78d0957" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual QSqlError qx::IxRepository::_deleteAll </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classqx_1_1_qx_repository.html#ad888abb53e307d896ceece712f083142">qx::QxRepository&lt; T &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="a2df10e62bd75fd432671200015dd8bf6"></a><!-- doxytag: member="qx::IxRepository::_deleteById" ref="a2df10e62bd75fd432671200015dd8bf6" args="(const QVariant &amp;id)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual QSqlError qx::IxRepository::_deleteById </td>
          <td>(</td>
          <td class="paramtype">const QVariant &amp;&#160;</td>
          <td class="paramname"><em>id</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classqx_1_1_qx_repository.html#afecf5f5ea5de675cb9331ef837e4891a">qx::QxRepository&lt; T &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="a555f92df8f92f6a217578afb4e36aef9"></a><!-- doxytag: member="qx::IxRepository::_deleteById" ref="a555f92df8f92f6a217578afb4e36aef9" args="(QObject *p)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual QSqlError qx::IxRepository::_deleteById </td>
          <td>(</td>
          <td class="paramtype">QObject *&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classqx_1_1_qx_repository.html#ab8aa18f95b73814a8d0836f453962b48">qx::QxRepository&lt; T &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="ac1570bd1a9153ce80228afa218233349"></a><!-- doxytag: member="qx::IxRepository::_deleteById" ref="ac1570bd1a9153ce80228afa218233349" args="(qx::IxCollection *p)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual QSqlError qx::IxRepository::_deleteById </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classqx_1_1_ix_collection.html">qx::IxCollection</a> *&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classqx_1_1_qx_repository.html#a81e5efaba3dde8a6a7c2d55380aa231a">qx::QxRepository&lt; T &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="a5e5a93169d54b3c09c0986687d38012e"></a><!-- doxytag: member="qx::IxRepository::_deleteByQuery" ref="a5e5a93169d54b3c09c0986687d38012e" args="(const qx::QxSqlQuery &amp;query)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual QSqlError qx::IxRepository::_deleteByQuery </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;&#160;</td>
          <td class="paramname"><em>query</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classqx_1_1_qx_repository.html#a087da4587f2ac6ceadad2db2007d27df">qx::QxRepository&lt; T &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="addd5d9e4d24f79fe6bf31c5a37d489c9"></a><!-- doxytag: member="qx::IxRepository::_destroyAll" ref="addd5d9e4d24f79fe6bf31c5a37d489c9" args="()=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual QSqlError qx::IxRepository::_destroyAll </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classqx_1_1_qx_repository.html#a42bc1d58414f4b28ac934d9d49be3d5d">qx::QxRepository&lt; T &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="a7e17bc445dc8bdb4ff26c2bdbddd5842"></a><!-- doxytag: member="qx::IxRepository::_destroyById" ref="a7e17bc445dc8bdb4ff26c2bdbddd5842" args="(const QVariant &amp;id)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual QSqlError qx::IxRepository::_destroyById </td>
          <td>(</td>
          <td class="paramtype">const QVariant &amp;&#160;</td>
          <td class="paramname"><em>id</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classqx_1_1_qx_repository.html#a59a8387ff7948defc3b4441468559942">qx::QxRepository&lt; T &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="a576829139b07c613c4729677bbad3dfe"></a><!-- doxytag: member="qx::IxRepository::_destroyById" ref="a576829139b07c613c4729677bbad3dfe" args="(QObject *p)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual QSqlError qx::IxRepository::_destroyById </td>
          <td>(</td>
          <td class="paramtype">QObject *&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classqx_1_1_qx_repository.html#a964e2f2d35a713b178c7caab11238e4c">qx::QxRepository&lt; T &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="add9a1b1e1000e92444429fd7d3516aa1"></a><!-- doxytag: member="qx::IxRepository::_destroyById" ref="add9a1b1e1000e92444429fd7d3516aa1" args="(qx::IxCollection *p)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual QSqlError qx::IxRepository::_destroyById </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classqx_1_1_ix_collection.html">qx::IxCollection</a> *&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classqx_1_1_qx_repository.html#ae91c32d9ce492ca28b26a95cb1e6af53">qx::QxRepository&lt; T &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="a9cb498184174bdca5df5b97162186b71"></a><!-- doxytag: member="qx::IxRepository::_destroyByQuery" ref="a9cb498184174bdca5df5b97162186b71" args="(const qx::QxSqlQuery &amp;query)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual QSqlError qx::IxRepository::_destroyByQuery </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;&#160;</td>
          <td class="paramname"><em>query</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classqx_1_1_qx_repository.html#afc0e5f02b0e018bc1c2e59dce1886820">qx::QxRepository&lt; T &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="a6744756e0ef04ae536de452b2ea2983a"></a><!-- doxytag: member="qx::IxRepository::_exist" ref="a6744756e0ef04ae536de452b2ea2983a" args="(QObject *p)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="_qx_bool_8h.html#a40069a4245b458585997dadea3a86b33">qx_bool</a> qx::IxRepository::_exist </td>
          <td>(</td>
          <td class="paramtype">QObject *&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classqx_1_1_qx_repository.html#a00e44f675d2e729e77635b8fd4f8c23d">qx::QxRepository&lt; T &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="a157f42e376bb78fd62f987aa319264ae"></a><!-- doxytag: member="qx::IxRepository::_exist" ref="a157f42e376bb78fd62f987aa319264ae" args="(qx::IxCollection *p)=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="_qx_bool_8h.html#a40069a4245b458585997dadea3a86b33">qx_bool</a> qx::IxRepository::_exist </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classqx_1_1_ix_collection.html">qx::IxCollection</a> *&#160;</td>
          <td class="paramname"><em>p</em></td><td>)</td>
          <td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classqx_1_1_qx_repository.html#ad5f7e8c5a77db0657f23d2c78c9db16f">qx::QxRepository&lt; T &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="ac53acd53868400234dfdca0e12a48aec"></a><!-- doxytag: member="qx::IxRepository::_fetchAll" ref="ac53acd53868400234dfdca0e12a48aec" args="(QObject *p, const QStringList &amp;columns=QStringList(), const QStringList &amp;relation=QStringList())=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual QSqlError qx::IxRepository::_fetchAll </td>
          <td>(</td>
          <td class="paramtype">QObject *&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>columns</em> = <code>QStringList()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>relation</em> = <code>QStringList()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classqx_1_1_qx_repository.html#af8111f1b296273fa3ffbcf60fc7687d8">qx::QxRepository&lt; T &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="ad481c686dba0bfa5048ba83bd2e223ee"></a><!-- doxytag: member="qx::IxRepository::_fetchAll" ref="ad481c686dba0bfa5048ba83bd2e223ee" args="(qx::IxCollection *p, const QStringList &amp;columns=QStringList(), const QStringList &amp;relation=QStringList())=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual QSqlError qx::IxRepository::_fetchAll </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classqx_1_1_ix_collection.html">qx::IxCollection</a> *&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>columns</em> = <code>QStringList()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>relation</em> = <code>QStringList()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classqx_1_1_qx_repository.html#aa8ae00fe49bbf7834aa8525c6141ee53">qx::QxRepository&lt; T &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="a9cf6804c4e78e40ed617f94992e36086"></a><!-- doxytag: member="qx::IxRepository::_fetchAll" ref="a9cf6804c4e78e40ed617f94992e36086" args="(const QString &amp;repositoryKey, const QStringList &amp;columns=QStringList(), const QStringList &amp;relation=QStringList())" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="namespaceqx.html#a8792a6513f37c4a4ba24a55dbabee03b">qx::IxCollection_ptr</a> qx::IxRepository::_fetchAll </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>repositoryKey</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>columns</em> = <code>QStringList()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>relation</em> = <code>QStringList()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="a08ea117d4d65c182dbf4520ed0fde388"></a><!-- doxytag: member="qx::IxRepository::_fetchById" ref="a08ea117d4d65c182dbf4520ed0fde388" args="(const QVariant &amp;id, const QStringList &amp;columns=QStringList(), const QStringList &amp;relation=QStringList())=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual void* qx::IxRepository::_fetchById </td>
          <td>(</td>
          <td class="paramtype">const QVariant &amp;&#160;</td>
          <td class="paramname"><em>id</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>columns</em> = <code>QStringList()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>relation</em> = <code>QStringList()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classqx_1_1_qx_repository.html#a4d881ea3a09541b65982ca910ef6e417">qx::QxRepository&lt; T &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="a94efa30ab695212b357cce44746956f5"></a><!-- doxytag: member="qx::IxRepository::_fetchById" ref="a94efa30ab695212b357cce44746956f5" args="(QObject *p, const QStringList &amp;columns=QStringList(), const QStringList &amp;relation=QStringList())=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual QSqlError qx::IxRepository::_fetchById </td>
          <td>(</td>
          <td class="paramtype">QObject *&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>columns</em> = <code>QStringList()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>relation</em> = <code>QStringList()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classqx_1_1_qx_repository.html#a2388faad9563ddc4a3a367c897fea213">qx::QxRepository&lt; T &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="a824764185f5dcbe5ad93c051cdcd83a1"></a><!-- doxytag: member="qx::IxRepository::_fetchById" ref="a824764185f5dcbe5ad93c051cdcd83a1" args="(qx::IxCollection *p, const QStringList &amp;columns=QStringList(), const QStringList &amp;relation=QStringList())=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual QSqlError qx::IxRepository::_fetchById </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classqx_1_1_ix_collection.html">qx::IxCollection</a> *&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>columns</em> = <code>QStringList()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>relation</em> = <code>QStringList()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classqx_1_1_qx_repository.html#ac907790bb85901ef2b8a79c85ad672f5">qx::QxRepository&lt; T &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="ab2de99024a09d12c4dc5c123aeaa3fcc"></a><!-- doxytag: member="qx::IxRepository::_fetchByQuery" ref="ab2de99024a09d12c4dc5c123aeaa3fcc" args="(const qx::QxSqlQuery &amp;query, QObject *p, const QStringList &amp;columns=QStringList(), const QStringList &amp;relation=QStringList())=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual QSqlError qx::IxRepository::_fetchByQuery </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;&#160;</td>
          <td class="paramname"><em>query</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">QObject *&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>columns</em> = <code>QStringList()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>relation</em> = <code>QStringList()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classqx_1_1_qx_repository.html#a40b1761becb6f8a4799ba122718a6fc4">qx::QxRepository&lt; T &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="aba1ab6100e2abc1064da5fd6fe975085"></a><!-- doxytag: member="qx::IxRepository::_fetchByQuery" ref="aba1ab6100e2abc1064da5fd6fe975085" args="(const qx::QxSqlQuery &amp;query, qx::IxCollection *p, const QStringList &amp;columns=QStringList(), const QStringList &amp;relation=QStringList())=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual QSqlError qx::IxRepository::_fetchByQuery </td>
          <td>(</td>
          <td class="paramtype">const <a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;&#160;</td>
          <td class="paramname"><em>query</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="classqx_1_1_ix_collection.html">qx::IxCollection</a> *&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>columns</em> = <code>QStringList()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>relation</em> = <code>QStringList()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classqx_1_1_qx_repository.html#a0d61782c8a4789a0936cf27c8a0f93ba">qx::QxRepository&lt; T &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="a339781f7dcaebee054667b5b2fd3c9d4"></a><!-- doxytag: member="qx::IxRepository::_fetchByQuery" ref="a339781f7dcaebee054667b5b2fd3c9d4" args="(const QString &amp;repositoryKey, const qx::QxSqlQuery &amp;query, const QStringList &amp;columns=QStringList(), const QStringList &amp;relation=QStringList())" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">static <a class="el" href="namespaceqx.html#a8792a6513f37c4a4ba24a55dbabee03b">qx::IxCollection_ptr</a> qx::IxRepository::_fetchByQuery </td>
          <td>(</td>
          <td class="paramtype">const QString &amp;&#160;</td>
          <td class="paramname"><em>repositoryKey</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;&#160;</td>
          <td class="paramname"><em>query</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>columns</em> = <code>QStringList()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>relation</em> = <code>QStringList()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [static]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="ac8287e946f6cda4495d8d305a6a2c7ea"></a><!-- doxytag: member="qx::IxRepository::_getClass" ref="ac8287e946f6cda4495d8d305a6a2c7ea" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="classqx_1_1_ix_class.html">qx::IxClass</a>* qx::IxRepository::_getClass </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classqx_1_1_qx_repository.html#a369043f156158555f3540c219c3a3c09">qx::QxRepository&lt; T &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="ae2c4aac865194c104751caefd929f5d5"></a><!-- doxytag: member="qx::IxRepository::_insert" ref="ae2c4aac865194c104751caefd929f5d5" args="(QObject *p, const QStringList &amp;relation=QStringList())=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual QSqlError qx::IxRepository::_insert </td>
          <td>(</td>
          <td class="paramtype">QObject *&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>relation</em> = <code>QStringList()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classqx_1_1_qx_repository.html#a3484dd147fd4f51b71c5f4e525220bf6">qx::QxRepository&lt; T &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="a4bf5a3a4c159755a848a485338e2e33f"></a><!-- doxytag: member="qx::IxRepository::_insert" ref="a4bf5a3a4c159755a848a485338e2e33f" args="(qx::IxCollection *p, const QStringList &amp;relation=QStringList())=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual QSqlError qx::IxRepository::_insert </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classqx_1_1_ix_collection.html">qx::IxCollection</a> *&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>relation</em> = <code>QStringList()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classqx_1_1_qx_repository.html#aad9a79766ed06d11a884c4031b463810">qx::QxRepository&lt; T &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="a73dd51bfba0c1f87d9334ba09e5b4da4"></a><!-- doxytag: member="qx::IxRepository::_newCollection" ref="a73dd51bfba0c1f87d9334ba09e5b4da4" args="() const =0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual <a class="el" href="namespaceqx.html#a8792a6513f37c4a4ba24a55dbabee03b">qx::IxCollection_ptr</a> qx::IxRepository::_newCollection </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const<code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classqx_1_1_qx_repository.html#a159ee780258d352ce1297e34748615ce">qx::QxRepository&lt; T &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="ac02ec6530b0622effc375dca63b58454"></a><!-- doxytag: member="qx::IxRepository::_save" ref="ac02ec6530b0622effc375dca63b58454" args="(QObject *p, const QStringList &amp;relation=QStringList())=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual QSqlError qx::IxRepository::_save </td>
          <td>(</td>
          <td class="paramtype">QObject *&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>relation</em> = <code>QStringList()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classqx_1_1_qx_repository.html#a4ae68f73d431c85bbdce750dc4d98e13">qx::QxRepository&lt; T &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="a1d2a90226fa78d61f43d753690649932"></a><!-- doxytag: member="qx::IxRepository::_save" ref="a1d2a90226fa78d61f43d753690649932" args="(qx::IxCollection *p, const QStringList &amp;relation=QStringList())=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual QSqlError qx::IxRepository::_save </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classqx_1_1_ix_collection.html">qx::IxCollection</a> *&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>relation</em> = <code>QStringList()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classqx_1_1_qx_repository.html#ab45ffde7a1cb9ba1117a90231c626c15">qx::QxRepository&lt; T &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="a5abbde87e43c09c9d9bfd36a34f6ad7f"></a><!-- doxytag: member="qx::IxRepository::_update" ref="a5abbde87e43c09c9d9bfd36a34f6ad7f" args="(QObject *p, const qx::QxSqlQuery &amp;query=qx::QxSqlQuery(), const QStringList &amp;columns=QStringList(), const QStringList &amp;relation=QStringList())=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual QSqlError qx::IxRepository::_update </td>
          <td>(</td>
          <td class="paramtype">QObject *&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;&#160;</td>
          <td class="paramname"><em>query</em> = <code><a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>columns</em> = <code>QStringList()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>relation</em> = <code>QStringList()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classqx_1_1_qx_repository.html#a2773cee617161ceae4fac2760d173e64">qx::QxRepository&lt; T &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="ac8af2f8b48c1d7700ed2040605eb5a95"></a><!-- doxytag: member="qx::IxRepository::_update" ref="ac8af2f8b48c1d7700ed2040605eb5a95" args="(qx::IxCollection *p, const qx::QxSqlQuery &amp;query=qx::QxSqlQuery(), const QStringList &amp;columns=QStringList(), const QStringList &amp;relation=QStringList())=0" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">virtual QSqlError qx::IxRepository::_update </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="classqx_1_1_ix_collection.html">qx::IxCollection</a> *&#160;</td>
          <td class="paramname"><em>p</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const <a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a> &amp;&#160;</td>
          <td class="paramname"><em>query</em> = <code><a class="el" href="classqx_1_1_qx_sql_query.html">qx::QxSqlQuery</a>()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>columns</em> = <code>QStringList()</code>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype">const QStringList &amp;&#160;</td>
          <td class="paramname"><em>relation</em> = <code>QStringList()</code>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td><code> [pure virtual]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Implemented in <a class="el" href="classqx_1_1_qx_repository.html#a3fc0fd799291724871909f670d14dba7">qx::QxRepository&lt; T &gt;</a>.</p>

</div>
</div>
<a class="anchor" id="afe835dcf2cf658f83099adfb5316df09"></a><!-- doxytag: member="qx::IxRepository::database" ref="afe835dcf2cf658f83099adfb5316df09" args="()" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QSqlDatabase* qx::IxRepository::database </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<a class="anchor" id="acaa15d7dd3ae1e3c8dd78ffa23e7585e"></a><!-- doxytag: member="qx::IxRepository::session" ref="acaa15d7dd3ae1e3c8dd78ffa23e7585e" args="() const " -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classqx_1_1_qx_session.html">QxSession</a>* qx::IxRepository::session </td>
          <td>(</td>
          <td class="paramname"></td><td>)</td>
          <td> const</td>
        </tr>
      </table>
</div>
<div class="memdoc">

</div>
</div>
<hr/><h2>Member Data Documentation</h2>
<a class="anchor" id="a5033bbd6d579fecd00772f584f88e487"></a><!-- doxytag: member="qx::IxRepository::m_bRegister" ref="a5033bbd6d579fecd00772f584f88e487" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">bool <a class="el" href="classqx_1_1_ix_repository.html#a5033bbd6d579fecd00772f584f88e487">qx::IxRepository::m_bRegister</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Register repository into <a class="el" href="classqx_1_1_qx_repository_x.html" title="qx::QxRepositoryX : list of all repositories registered using qx::register_repository&lt;T&gt; function...">QxRepositoryX</a> collection. </p>

<p>Definition at line <a class="el" href="_ix_repository_8h_source.html#l00078">78</a> of file <a class="el" href="_ix_repository_8h_source.html">IxRepository.h</a>.</p>

</div>
</div>
<a class="anchor" id="ad22476e2be9c22c3bba7d98ecbe09182"></a><!-- doxytag: member="qx::IxRepository::m_database" ref="ad22476e2be9c22c3bba7d98ecbe09182" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QSqlDatabase <a class="el" href="classqx_1_1_ix_repository.html#ad22476e2be9c22c3bba7d98ecbe09182">qx::IxRepository::m_database</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Database connection associated to the repository. </p>

<p>Definition at line <a class="el" href="_ix_repository_8h_source.html#l00080">80</a> of file <a class="el" href="_ix_repository_8h_source.html">IxRepository.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa9c2b2ae5df27aedbe5eeb5a1dd3d23c"></a><!-- doxytag: member="qx::IxRepository::m_pSession" ref="aa9c2b2ae5df27aedbe5eeb5a1dd3d23c" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname"><a class="el" href="classqx_1_1_qx_session.html">QxSession</a>* <a class="el" href="classqx_1_1_ix_repository.html#aa9c2b2ae5df27aedbe5eeb5a1dd3d23c">qx::IxRepository::m_pSession</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Session associated to the repository. </p>

<p>Definition at line <a class="el" href="_ix_repository_8h_source.html#l00081">81</a> of file <a class="el" href="_ix_repository_8h_source.html">IxRepository.h</a>.</p>

</div>
</div>
<a class="anchor" id="aa35ff77a77f423a5079644d90a701149"></a><!-- doxytag: member="qx::IxRepository::m_sKeyRepository" ref="aa35ff77a77f423a5079644d90a701149" args="" -->
<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">QString <a class="el" href="classqx_1_1_ix_repository.html#aa35ff77a77f423a5079644d90a701149">qx::IxRepository::m_sKeyRepository</a><code> [protected]</code></td>
        </tr>
      </table>
</div>
<div class="memdoc">

<p>Repository key used by <a class="el" href="classqx_1_1_qx_repository_x.html" title="qx::QxRepositoryX : list of all repositories registered using qx::register_repository&lt;T&gt; function...">QxRepositoryX</a> collection. </p>

<p>Definition at line <a class="el" href="_ix_repository_8h_source.html#l00079">79</a> of file <a class="el" href="_ix_repository_8h_source.html">IxRepository.h</a>.</p>

</div>
</div>
<hr/>The documentation for this class was generated from the following file:<ul>
<li>C:/Dvlp/_Perso/QxOrm/include/QxDao/QxRepository/<a class="el" href="_ix_repository_8h_source.html">IxRepository.h</a></li>
</ul>
</div>
</div>
  <div id="nav-path" class="navpath">
    <ul>
      <li class="navelem"><a class="el" href="namespaceqx.html">qx</a>      </li>
      <li class="navelem"><a class="el" href="classqx_1_1_ix_repository.html">IxRepository</a>      </li>
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
<a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark">&#160;</span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark">&#160;</span>Classes</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark">&#160;</span>Namespaces</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark">&#160;</span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(4)"><span class="SelectionMark">&#160;</span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(5)"><span class="SelectionMark">&#160;</span>Variables</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(6)"><span class="SelectionMark">&#160;</span>Typedefs</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(7)"><span class="SelectionMark">&#160;</span>Enumerations</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(8)"><span class="SelectionMark">&#160;</span>Enumerator</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(9)"><span class="SelectionMark">&#160;</span>Friends</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(10)"><span class="SelectionMark">&#160;</span>Defines</a></div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>


    <li class="footer">Generated on Sun Dec 11 2016 13:41:13 for QxOrm by
    <a href="http://www.doxygen.org/index.html">
    <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.7.5.1 </li>
   </ul>
 </div>


</body>
</html>
